package com.hskn.hss.module.workrule.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hskn.hss.module.workruleitem.entity.WorkRuleItemFull2;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WorkRuleFull2 implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 作业规则id
     */
    @TableId(value = "work_rule_id", type = IdType.ASSIGN_UUID)
    private String workRuleId;

    /**
     * 规则名称
     */
    private String ruleName;

    /**
     * 启用状态，1启用，0禁用
     */
    private String isEnable;

    /**
     * 备注
     */
    private String remark;

    /**
     * 规则项s
     */
    private List<WorkRuleItemFull2> ruleItems;

    private String createUid;

    private Date createTime;

    private Date updateTime;

    private String updateUid;

    /**
     * 创建规则时创建人所在的部门id
     */
    private String createDepid;

    /**
     * 业务模块，道路保洁2，机械清扫3，垃圾清运4，垃圾转运5
     */
    private Integer module;
}
